Add materials for "Coordinating Teams of AI Agents with CrewAI in Python"#775
Add materials for "Coordinating Teams of AI Agents with CrewAI in Python"#775FarahAbdo wants to merge 3 commits into
Conversation
martin-martin
left a comment
There was a problem hiding this comment.
Hi @FarahAbdo thanks for adding your code and being patient with my review (lots going on at the moment!!).
This overall looks good, I have three small asks from you:
- Pin the version used (I confirmed your code still works with that version)
- Update the slug in your README (I already did, you just need to confirm the edit)
- Update the folder name to
crewai-python/to match the new tutorial slug
The shorter slug will help to make your tutorial easier to discover for readers, and it's best if the folder here matches the tutorial slug for consistency.
Otherwise everything looks good, thank you for your work on this! : )
| @@ -0,0 +1 @@ | |||
| crewai[tools,google-genai] No newline at end of file | |||
There was a problem hiding this comment.
Hi, could you pin this to the version you've developed with for the tutorial? (Ideally that'd be the newest, currently 1.14.6 - but please check if that version works with your content, thank you!
| crewai[tools,google-genai] | |
| crewai[tools,google-genai]==1.14.6 | |
I'd also add a newline at the end.
| # Coordinating Teams of AI Agents with CrewAI in Python | ||
|
|
||
| Sample code for the Real Python tutorial | ||
| [Coordinating Teams of AI Agents with CrewAI in Python](https://realpython.com/coordinating-teams-of-ai-agents-with-crewai-in-python/). |
There was a problem hiding this comment.
The slug you've used during development of the tutorial has changed since, so we should reflect this here:
| [Coordinating Teams of AI Agents with CrewAI in Python](https://realpython.com/coordinating-teams-of-ai-agents-with-crewai-in-python/). | |
| [CrewAI in Python: Coordinating Teams of AI Agents](https://realpython.com/crewai-python/). |
Summary
This PR adds the sample code for the Real Python tutorial "Coordinating Teams of AI Agents with CrewAI in Python".
What's included
A new top-level folder
coordinating-teams-of-ai-agents-with-crewai-in-python/containing:01_single_agent.py02_research_and_writer_crew.py03_explicit_context.py04_agent_with_tools.pyrequirements.txtcrewai[tools,google-genai])README.mdHow to run
pip install -r requirements.txtGEMINI_API_KEYfrom Google AI Studio.python 01_single_agent.py.Notes
.env, virtual environment, or cache files are committed.